package com.embracesource.plugin.confluence;

import com.embracesource.plugin.common.CompanyInfo;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.ui.Messages;
import org.jetbrains.annotations.NotNull;

import javax.swing.*;

public class LoginMenu extends AnAction {
    @Override
    public void actionPerformed(@NotNull AnActionEvent anActionEvent) {
        JComponent centerPanel = new SampleDialogWrapper().createCenterPanel();
        Messages.showConfirmationDialog(centerPanel, CompanyInfo.NAME, "123123", "yes","no");
    }
}
